﻿
@{
    ViewBag.Title = "HiddenTroubleList";
    ViewBag.Active = "导入特种作业相关人员资质";
    Layout = "~/Views/Shared/_LayoutEmergency.cshtml";
}

@section css {
    <link type="text/css" href="~/Assets/Styles/libs/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <link type="text/css" href="~/Assets/Styles/libs/sco.message.css" rel="stylesheet" />
    <link href="~/Assets/Styles/libs/fileinput.css" rel="stylesheet" />
}
<style>
    .kv-file-upload {
        display: none;
    }
</style>
<div class="nesting main-content" ng-controller="SpecialController" ng-init="doc={};IsChecked=true;">
    <div class="row">
        <div class="col-lg-12">
            <div class="col-lg-12">
                <div class="panel panel-info">
                    <div class="panel-heading">
                        <h1 class="panel-title">导入特种作业相关人员资质</h1>
                    </div>
                    <div class="panel-body">
                        <form role="form" class="form-horizontal" id="docForm" name="frmPlanEdit" enctype="multipart/form-data">

                            <div class="form-group">
                                <label class="col-lg-2 control-label">模板</label>
                                <div class="col-lg-8">

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-2 control-label">类型</label>
                                <div class="col-lg-8">
                                    <input type="radio" value="Add" name="importType" ng-checked="IsChecked" id="IsAdd"/>新增 &nbsp;&nbsp;
                                    <input type="radio" value="Edit" name="importType"/>更新
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-2 control-label">导入Excel<span class="not-null"></span></label>
                                <div class="col-lg-8">
                                    <input type="file" ngf-select ng-model="doc.Files" name="docfiles" id="docfiles" class="file" initialPreviewAsData="true" data-show-remove="true" data-show-preview="true" showCancel="false" data-show-upload="false" multiple required>
                                </div>
                            </div>
                        </form>

                        <div class="form-group">
                            <button type="submit" class="btn btn-primary col-lg-offset-1" ng-click="SubmitSpecialOperateItem(IsChecked)" ng-cloak><span ng-cloak><span class="glyphicon glyphicon-saved" style="padding-right: 5px"></span>@Resources.WebStringsBase.Save</span></button>
                            <a style="margin-left: 45px" class="btn btn-default" href="SpecialOperateItemList"><span class="glyphicon glyphicon-menu-left" style="padding-right: 5px"></span><span>@Resources.WebStringsBase.Back</span></a>
                        </div>
                    </div>
                </div>

            </div>
        </div>


    </div>


</div>


@section js {

    <script type="text/javascript" src="~/Assets/Scripts/pg/Special.js"></script>
    <script type="text/javascript" src="~/Assets/Scripts/libs/moment.min.js"></script>
    <script type="text/javascript" src="~/Assets/Scripts/libs/sco.message.js"></script>
    <script type="text/javascript" src="~/Assets/Scripts/libs/locales/date/zh-cn.js"></script>
    <script type="text/javascript" src="~/Assets/Scripts/libs/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="~/Assets/Scripts/libs/angularjs-datepicker.js"></script>
}
<script type="text/javascript" src="~/Assets/Scripts/libs/fileinput.js"></script>
<script type="text/javascript" src="~/Assets/Scripts/libs/sortable.js"></script>
<script type="text/javascript" src="~/Assets/Scripts/libs/piexif.js"></script>
<script type="text/javascript" src="~/Assets/Scripts/libs/purify.js"></script>
<script type="text/javascript" src="~/Assets/Scripts/libs/theme.js"></script>
<script type="text/javascript" src="~/Assets/Scripts/libs/zh.js"></script>

<script>
    $('#docfiles').fileinput({
        language: 'zh',
        allowedFileExtensions: ['xls', 'xlsx']
    });

</script>